#include <sys/uio.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct
{
    struct iovec iov[100];
    int count;
}recv_buf_t;

int init_connector(const char *interface,const char *filter);
void receive_frame(recv_buf_t *buf);
#ifdef __cplusplus
}
#endif
